.dashboard {
  margin-bottom: 40px;
  padding: 10px;
  // 第一层
  .first,
  .second,
  .third,
  .fourth,
  .fifth {
    display: flex;
    .left,
    .right {
      padding: 24px;
      width: 55%;
      margin: 10px;
      height: 240px;
      background-color: white;
      .header {
        margin-bottom: 20px;
        p {
          margin: 0;
          padding: 0 0 10px 0;
          font-size: 16px;
          color: #20232a;
          font-weight: 700;
        }
      }
      .content {
        display: flex;
        .left-content {
          flex: 1;
          padding-left: 10px;
          border-right: 1px solid #818693;
          .name {
            font-size: 16px;
            margin-bottom: 20px;
          }
          .address,
          .duty-person {
            margin-bottom: 10px;
            font-size: 14px;
            color: #818693;
          }
          .duty-person {
            margin-bottom: 20px;
          }
        }
        .right-content {
          flex: 1;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;

          .item {
            flex: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            &:nth-of-type(1) {
              margin-bottom: 20px;
            }
            .label {
              font-size: 14px;
              margin-bottom: 5px;
            }
            .num {
              font-size: 32px;
              color: #e15536;
              font-weight: 700;
            }
          }
        }
      }
    }
    .right {
      flex: 1;
      background-color: white;
      .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        p {
          padding: 0;
          font-size: 16px;
          font-weight: 700;
        }
        .refresh-box {
          font-size: 14px;
          color: #818693;
          display: flex;
          align-items: center;
          cursor: pointer;
          &::before {
            margin-right: 10px;
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            background-color: pink;
            background: url('../../assets/refresh.png');
            background-size: 14px 14px;
          }
        }
      }
      .row-big {
        display: flex;
        justify-content: space-evenly;
        .col {
          display: flex;
          flex-direction: column;
          align-items: center;
          .label {
            margin-bottom: 20px;
          }
          .num {
            font-size: 36px;
            color: #20232a;
            font-weight: 700;
            margin-bottom: 20px;
          }
          .bottom {
            display: flex;
            justify-content: center;
            font-size: 14px;
            color: #818693;
            &::after {
              content: '';
              display: inline-block;
              width: 15px;
              height: 16px;
              background: url('../../assets/rise.png');
              background-size: 15px 14px;
            }
          }
        }
      }
    }
  }
  // 第二层
  .second {
    display: flex;
    .left,
    .right {
      height: 300px;
      position: relative;
      .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        p {
          display: flex;
          align-items: center;
          font-size: 16px;
          font-weight: 700;
          padding-bottom: 0;
        }
        .refresh-box {
          font-size: 14px;
          color: #818693;
          display: flex;
          align-items: center;
          cursor: pointer;
          &::before {
            margin-right: 10px;
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            background-color: pink;
            background: url('../../assets/refresh.png');
            background-size: 14px 14px;
          }
        }
      }
      .bottom-label {
        display: flex;
        justify-content: space-around;
        position: absolute;
        padding-left: 48px;
        width: 100%;
        left: -24px;
        bottom: 10%;
        .item {
          cursor: pointer;
          .label {
            font-size: 16px;
            font-weight: 700;
          }
          .num1 {
            font-size: 16px;
            font-weight: 700;
            color: #e15536;
          }
          .num2 {
            font-size: 16px;
            font-weight: 700;
            color: #ffc257;
          }
          .num3 {
            font-size: 16px;
            font-weight: 700;
            color: #ff9739;
          }
          .num4 {
            font-size: 16px;
            font-weight: 700;
            color: #dfcb59;
          }
        }
      }
    }
    .right {
      .chart {
        height: 200;
        cursor: pointer;
      }
    }
  }
  // 第三层
  .third {
    margin: 10px;
    height: 200px;
    background-color: white;
    .common-function {
      padding: 24px;
      width: 100%;
      .header {
        p {
          margin-top: 0;
          font-size: 16px;
          color: #20232a;
          font-weight: 700;
        }
      }
      .useFeaturelist {
        display: flex;
        justify-content: space-evenly;
        .item {
          display: flex;
          flex-direction: column;
          width: 15%;
          height: 110px;
          background-color: #fafafb;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          &:hover {
            color: #e35c3f;
          }
          img {
            width: 40px;
            height: 40px;
          }
          p {
            font-size: 16px;
            font-weight: 700;
          }
        }
      }
    }
  }
  // 第四层
  .fourth {
    .left {
      width: 50%;
      height: 480px;
      .header {
        p {
          margin: 0;
          padding: 0 0 10px 0;
          font-size: 16px;
          color: #20232a;
          font-weight: 700;
        }
      }
      .table_body {
        height: 400px;
      }
    }
    .right {
      width: 50%;
      height: 480px;
      .header {
        display: flex;
        justify-content: space-between;
        p {
          margin: 0;
          padding: 0 0 10px 0;
          font-size: 16px;
          color: #20232a;
          font-weight: 700;
        }
        .search-more {
          font-size: 14px;
          color: #818693;
          &::after {
            content: '';
            display: inline-block;
            width: 13px;
            height: 12px;
            background: url('../../assets//arrow-more.png') no-repeat;
            background-size: 13px 12px;
          }
        }
      }
    }
  }
  // 第五层
  .fifth {
    margin-bottom: 40px;
    .left,
    .right {
      width: 50%;
      height: 700px;
      .header {
        display: flex;
        justify-content: space-between;
        .totalorders {
          margin: 0;
          padding: 0 0 10px 0;
          font-size: 16px;
          color: #20232a;
          font-weight: 700;
        }
        .totalorderstime {
          font-size: 14px;
          color: #818693;
        }
      }
      .totalorderstype {
        font-size: 14px;
        color: #818693;
      }
      .order-static {
        display: flex;
        justify-content: space-evenly;
        margin-top: 30px;
        .item {
          width: 60px;
          height: 50px;
          .num {
            font-size: 28px;
            color: #e15536;
            text-align: center;
            font-weight: 700;
          }
          .label {
            font-size: 12px;
            color: #818693;
          }
        }
      }
      .chart {
        height: 400px;
      }
    }
    .right {
      flex: 1;
      .chart {
        height: 500px;
      }
    }
  }
}
